#!/usr/bin/env bash
cd ~/www/IMooc/
git stash
echo 'Bln12345' | git pull
echo 'OurEDALectureServer' | sudo supervisor restart IMooc
if ["$?" -eq "0"]
then
    echo "deploy success"
else
    echo "deploy fail"
fi